package org.jeecg.glr.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.glr.entity.GlrLightPoleDevice;
import org.jeecg.glr.entity.GlrRadio;

import java.util.List;

/**
 * @Description: 路灯灯杆管绑定的设备
 * @Author: jeecg-boot
 * @Date:   2020-03-05
 * @Version: V1.0
 */
public interface IGlrLightPoleDeviceService extends IService<GlrLightPoleDevice> {

    <T> void dataProecss(T entity,String type);

    void bingLightPoleDevice(GlrLightPoleDevice glrLightPoleDevice);

    List<GlrLightPoleDevice> glrLightPoleDeviceListById(String id,String projectCode);

    List<GlrRadio> getRadioByPoleCodeAndProjectCode(String code, String projectCode);

    void removeEntityById(String id);

    void removeEntityByIds(List<String> asList);

    void deleteByGateWayCode(String gateWayCode);
}
